home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / ROOM2.PI < prev    next >
Text File  |  1992-09-19  |  1KB  |  43 lines

  1. // All that follows is everything in the scene, except the reflective sphere
  2. background Midnight_Blue
  3. light <-2, 30, -2>
  4. include "..\colors.inc"
  5.  
  6. // Make the test scene - cylinders arranged in a hexagon on a checkered plane
  7. object {
  8.    disc <0, -2.001, 0>, <0, 1, 0>, 50
  9.    texture { checker matte_white, matte_black }
  10.    }
  11. define bot_vec <6, -2, 0>
  12. define top_vec <6, 8, 0>
  13.  
  14. object {
  15.    cylinder rotate(bot_vec, <0, 0, 0>), rotate(top_vec, <0, 0, 0>), 1
  16.    shiny_red
  17.    }
  18.  
  19. object {
  20.    cylinder rotate(bot_vec, <0, 60, 0>), rotate(top_vec, <0, 60, 0>), 1
  21.    shiny_yellow
  22.    }
  23.  
  24. object {
  25.    cylinder rotate(bot_vec, <0, 120, 0>), rotate(top_vec, <0, 120, 0>), 1
  26.    shiny_green
  27.    }
  28.  
  29. object {
  30.    cylinder rotate(bot_vec, <0, 180, 0>), rotate(top_vec, <0, 180, 0>), 1
  31.    shiny_cyan
  32.    }
  33.  
  34. object {
  35.    cylinder rotate(bot_vec, <0, 240, 0>), rotate(top_vec, <0, 240, 0>), 1
  36.    shiny_blue
  37.    }
  38.  
  39. object {
  40.    cylinder rotate(bot_vec, <0, 300, 0>), rotate(top_vec, <0, 300, 0>), 1
  41.    shiny_magenta
  42.    }
  43.